/*
 * @Author: zhangweixin 
 * @Date: 2018-12-06 15:51:14 
 * @Last Modified by:   zhangweixin 
 * @Last Modified time: 2018-12-06 15:51:14 
 */

@mixin half-border() {
  position: relative;
  &:after {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  height: 200%;
  border: 1px solid $half-border-color;
  transform-origin: 0 0;
  transform: scale(.5, .5);
  }
  }
  
  @mixin half-line() {
  position: relative;
  &:after {
  content: " ";
  position: absolute;
  left: 0;
  height: 1px;
  border-top: 1px solid $half-border-color;
  color: $half-border-color;
  transform-origin: 0 0;
  transform: scaleY(.5);
  width: 100%;
  z-index: 2;
  }
  }